<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:30:"./tpl/admin/index/welcome.html";i:1640077304;s:27:"./tpl/admin/common/top.html";i:1636097721;s:30:"./tpl/admin/common/bottom.html";i:1636098083;}*/ ?>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>后台管理面板</title>
  <!-- 告诉浏览器该页面是自适应布局 -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="/static/admin/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="/static/admin/adminlte/bower_components/font-awesome/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="/static/admin/adminlte/bower_components/Ionicons/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="/static/admin/adminlte/dist/css/AdminLTE.min.css">
<!-- AdminLTE 皮肤。
   从 css/skins 目录下选择一个皮肤，以减少负载，而不是下载所有皮肤。 -->
<link rel="stylesheet" href="/static/admin/adminlte/dist/css/skins/_all-skins.min.css">

<!-- Date Picker -->
<link rel="stylesheet" href="/static/admin/adminlte/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
<!-- Datetime Picker -->
<link rel="stylesheet" href="/static/admin/adminlte/bower_components/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css">
<!-- Daterange picker -->
<link rel="stylesheet" href="/static/admin/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.css">

<link rel="stylesheet" href="/static/admin/sweetalert/dist/sweetalert2.min.css">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- 警告：Respond.js 不支持 file:// 方式查看（即本地方式查看）-->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<!-- Google Font -->
<!--<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">-->

<!-- My CSS -->
<link rel="stylesheet" href="/static/admin/adminlte/style.css">
<!-- jQuery 3 -->
<script src="/static/admin/adminlte/bower_components/jquery/dist/jquery.min.js"></script>
<!--webuploader-->
<link rel="stylesheet" type="text/css" href="/static/admin/webuploader-0.1.5/webuploader.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">	
<div class="wrapper">
    <div class="content-wrapper" style="margin-left: 0 !important;">
        <!--页眉-->
        <section class="content-header">
          <h1>
            <!--首页-->
            <small><i class="fa fa-dashboard"></i> 控制面板</small>
          </h1>
          <ol class="breadcrumb">
            <!--<li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>-->
            <li class="active">控制面板</li>
          </ol>
        </section>
        <!--内容开始-->
        <section class="content content_main">
        	<!---->
            <div class="row">
            	<div class="col-sm-8 col-xs-12">
                	<!--快捷方式-->
                    <div class="col-sm-6 col-xs-12 padding_0">
                        <div class="box box-default">
                            <div class="box-header with-border">
                              <i class="fa fa-gift"></i>
                              <h3 class="box-title">快捷方式</h3>
                              <div class="box-tools pull-right">
                                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                                </button>
                              </div>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">  
                              <a class="btn btn-app" href="<?php echo url('setting/siteinfo'); ?>"><i class="fa fa-cogs"></i>网站设置</a><a class="btn btn-app" href="{:url('database/database')}"><i class="fa fa-database"></i>数据备份</a><a class="btn btn-app" href="<?php echo url('model/index'); ?>"><i class="fa fa-th-list"></i>模型管理</a><a class="btn btn-app" href="<?php echo url('category/index'); ?>"><i class="fa fa-th"></i>栏目管理</a><a class="btn btn-app" href="<?php echo url('friendlink/index'); ?>"><i class="fa fa-link"></i>友情链接</a><a class="btn btn-app" href="<?php echo url('slide/index'); ?>"><i class="fa fa-photo"></i>轮播管理</a><a class="btn btn-app" href="<?php echo url('users/index'); ?>"><i class="fa fa-user"></i>用户管理</a><a class="btn btn-app" href="<?php echo url('template/index'); ?>"><i class="fa fa-code"></i>模板管理</a>
                            </div>
                            <!-- /.box-body -->
                          </div>
                      </div>
                      <!---->
                      <div class="col-sm-6 col-xs-12 padding_0">
                      	<div class="box box-default">
                            <div class="box-header with-border">
                              <i class="fa fa-pie-chart"></i>
                              <h3 class="box-title">数据统计</h3>
                              <div class="box-tools pull-right">
                                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                                </button>
                              </div>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">  
                              <!-- ./col -->
                                <div class="col-sm-6 col-xs-6">
                                  <div class="small-box bg-green">
                                    <div class="inner">
                                      <h3><?php echo $messagenum; ?></h3>
                                      <p>待处理留言</p>
                                    </div>
                                    <div class="icon">
                                      <i class="ion ion-android-clipboard"></i>
                                    </div>
                                    <a href="<?php echo url('message/index'); ?>" class="small-box-footer">更多信息 <i class="fa fa-arrow-circle-right"></i></a>
                                  </div>
                                </div>
                                <!-- ./col -->
                                <div class="col-sm-6 col-xs-6">
                                  <div class="small-box bg-yellow">
                                    <div class="inner">
                                      <h3><?php echo $catenum; ?></h3>
                                      <p>栏目数量</p>
                                    </div>
                                    <div class="icon">
                                      <i class="ion ion-person-add"></i>
                                    </div>
                                    <a href="<?php echo url('category/index'); ?>" class="small-box-footer">更多信息 <i class="fa fa-arrow-circle-right"></i></a>
                                  </div>
                                </div>
                                <!-- ./col -->
                            </div>
                            <!-- /.box-body -->
                          </div>
                      </div>
                      <!--系统信息开始-->
                      <div class="col-sm-12 col-xs-12 padding_0">
                      	<div class="box box-default">
                            <div class="box-header with-border">
                              <i class="fa fa-gear"></i>
                              <h3 class="box-title">系统信息</h3>
                              <div class="box-tools pull-right">
                                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                                </button>
                              </div>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">  
                             <table class="table table-striped">
                                <?php if(is_array($sysinfo) || $sysinfo instanceof \think\Collection || $sysinfo instanceof \think\Paginator): $i = 0; $__LIST__ = $sysinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
                                <tr><td><?php echo $key; ?></td><td><?php echo $val; ?></td></tr>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
							</table>
                            </div>
                            <!-- /.box-body -->
                          </div>
                      </div>
                      <!--系统信息结束-->
                </div>
                <div class="col-sm-4 col-xs-12">
                	<!--版本信息-->
                    <div class="box box-default">
                        <div class="box-header with-border">
                          <i class="fa fa-tag"></i>
                          <h3 class="box-title">版本信息</h3>
                          <div class="box-tools pull-right">
                            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                            </button>
                          </div>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <table class="table table-bordered">
                                <tr>
                                  <td>当前版本</td>
                                  <td><?php echo $version; ?></td>
                                </tr>
                                <tr>
                                  <td>基于框架</td>
                                  <td>ThinkPHP <?php echo THINK_VERSION; ?> + AdminLTE 2.4.3 </td>
                                </tr>
                                <tr>
                                  <!--<td valign="middle">获取授权</td>-->
                                  <!--<td>-->
                                  <!--  <a href="http://www.siyucms.com" target="_blank" class="btn btn-success">获取授权</a>&nbsp;&nbsp;-->
                                  <!--  <a href="https://gitee.com/ruoshuiyx/SYPHP" target="_blank" class="btn btn-warning">查看更新</a>-->
                                  <!--</td>-->
                                </tr>
                            </table>   
                        </div>
                        <!-- /.box-body -->
                      </div>
                    <!--版本信息-->
                    <!--学习文档-->
                        <div class="box box-default">
                            <div class="box-header with-border">
                              <i class="fa fa-bullhorn"></i>
                              <h3 class="box-title">学习文档</h3>
                              <div class="box-tools pull-right">
                                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                                </button>
                              </div>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">
                            	<a href="javascript:;" target="_blank" class="btn btn-block btn-default btn-lg">完全开发手册</a>
                                <a href="javascript:;" target="_blank" class="btn btn-block btn-default btn-lg">ThinkPHP5.1 实战指南</a>
                            </div>
                            <!-- /.box-body -->
                         </div>
                    <!---->
                    <div class="box box-default">
                        <div class="box-header with-border">
                          <i class="fa fa-bookmark"></i>
                          <h3 class="box-title">关于<?php echo $sysname; ?></h3>
                          <div class="box-tools pull-right">
                            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                            </button>
                          </div>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body">
                            <p><?php echo $sysname; ?> 基于 ThinkPHP<?php echo THINK_VERSION; ?> + AdminLTE-2.4.3 开发<br>简单 / 易用 / 响应式 / 低门槛 。</p>
                            <p>请尊重<?php echo $sysname; ?>开发者的劳动成果，请保留前台后台版权信息。</p>
                            <p class="text-light-blue juanzeng">如果<?php echo $sysname; ?>有帮到您，就请作者喝杯茶吧!</p>
                            <small>--<cite title="Source Title">感谢您的使用！</cite></small>
                        </div>
                        <!-- /.box-body -->
                     </div>
                    <!---->
                </div>
            </div>
            <!----> 
        </section>
        <!-- right col -->
      </div>
      <!-- /.row (main row) -->

    </section>
        <!--内容结束-->
    </div>
</div>
<!-- jQuery UI 1.11.4 -->
<script src="/static/admin/adminlte/bower_components/jquery-ui/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.7 -->
<script src="/static/admin/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- daterangepicker -->
<script src="/static/admin/adminlte/bower_components/moment/min/moment.min.js"></script>
<script src="/static/admin/adminlte/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="/static/admin/adminlte/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<script src="/static/admin/adminlte/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js"></script>
<!-- datetimepicker -->
<script src="/static/admin/adminlte/bower_components/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="/static/admin/adminlte/bower_components/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<!-- FastClick -->
<script src="/static/admin/adminlte/bower_components/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/static/admin/adminlte/dist/js/adminlte.min.js"></script>
<!-- SlimScroll -->
<script src="/static/admin/adminlte/bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<!-- AdminLTE dashboard 演示（仅供演示使用） -->
<!--<script src="/static/admin/adminlte/dist/js/pages/dashboard.js"></script>-->
<!-- AdminLTE for demo purposes -->
<!--<script src="/static/admin/adminlte/dist/js/demo.js"></script>-->

<script src="/static/admin/sweetalert/dist/sweetalert2.min.js"></script>
<script src="/static/admin/sweetalert/lib/es6-promise.min.js"></script>

<script src="/static/admin/adminlte/my.js"></script>
</body>
</html>
